<?php
namespace Common\Model;
use Common\Common\Object;


/**
 * Class CustomerObject
 * @package Common\Model
 * @property string $id
 * @property string $username
 * @property string $password
 *
 */
class companyObject extends Object{

    /**
     * 校验密码是否正确
     * @param $value
     * @return bool
     */
    public function checkPassword($value){
        return $value == $this->data['passwords'];
        
    }

}